export default [
  {
    path: '/user',
    layout: false,
    routes: [
      { path: '/user/login', component: './User/Login' },
      { path: '/user/register', component: './User/Register' },
    ],
  },
  { path: '/index', icon: 'smile', component: './Index', name: '主页' },
  { path: '/', redirect: '/index' },
  { path: '*', layout: false, component: './404' },
];
